home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / patches / sc656pch.lha / install < prev    next >
Text File  |  1995-10-03  |  4KB  |  186 lines

  1. .bra [
  2. .ket ]
  3. .key from
  4.  
  5. if not [from]
  6.    execute install sc:
  7. else
  8.  
  9. echo ""
  10. echo "This script will patch the following files from version"
  11. echo "6.55 of the SAS/C Development System. You MUST have 6.55"
  12. echo "installed on your system for this patch to work."
  13. echo ""
  14. echo "sc, asm, cpr, se, cprx, cprk, sc1.library, sc2.library, "
  15. echo "scpeep.library, sekeymap.library, sccxx.library, "
  16. echo "scdebug.library, slink, covutil.c."
  17. echo ""
  18. echo "Also, all the libraries in LIB: will be updated."
  19. echo ""
  20. echo "Check the read.me file for a list of fixed bugs."
  21. echo ""
  22. ask "Continue with patch?"
  23.  
  24. if warn
  25.  
  26. if exists [from]c/asm
  27. echo Patching ASM
  28. copy [from]c/asm t:asm
  29. spatch -osc:c/asm -pasm.pch t:asm
  30. delete t:asm quiet
  31. endif
  32.  
  33. if exists [from]c/cpr
  34. echo Patching CPR
  35. copy [from]c/cpr t:cpr
  36. spatch -osc:c/cpr -pcpr.pch t:cpr
  37. delete t:cpr quiet
  38. endif
  39.  
  40. if exists [from]c/se
  41. echo Patching SE
  42. copy [from]c/se t:se
  43. spatch -osc:c/se -pse.pch t:se
  44. delete t:se quiet
  45. endif
  46.  
  47. if exists [from]c/sc
  48. echo Patching SC
  49. copy [from]c/sc t:sc
  50. spatch -osc:c/sc -psc.pch t:sc
  51. delete t:sc quiet
  52. endif
  53.  
  54. if exists [from]c/slink
  55. echo Patching SLINK
  56. copy [from]c/slink t:slink
  57. spatch -osc:c/slink -pslink.pch t:slink
  58. delete t:slink quiet
  59. endif
  60.  
  61.  
  62. if exists [from]c/cprk
  63. echo Patching CPRK
  64. copy [from]c/cprk t:cprk
  65. spatch -osc:c/cprk -pcprk.pch t:cprk
  66. delete t:cprk quiet
  67. endif
  68.  
  69. if exists [from]c/cprx
  70. echo Patching CPRX
  71. copy [from]c/cprx t:cprx
  72. spatch -osc:c/cprx -pcprx.pch t:cprx
  73. delete t:cprx quiet
  74. endif
  75.  
  76. if exists [from]libs/sc1.library
  77. echo Patching SC1.LIBRARY
  78. copy [from]libs/sc1.library t:sc1.library
  79. spatch -osc:libs/sc1.library -psc1.pch t:sc1.library
  80. delete t:sc1.library quiet
  81. endif
  82.  
  83. if exists [from]libs/sc2.library
  84. echo Patching SC2.LIBRARY
  85. copy [from]libs/sc2.library t:sc2.library
  86. spatch -osc:libs/sc2.library -psc2.pch t:sc2.library
  87. delete t:sc2.library quiet
  88. endif
  89.  
  90. if exists [from]libs/scpeep.library
  91. echo Patching SCPEEP.LIBRARY
  92. copy [from]libs/scpeep.library t:scpeep.library
  93. spatch -osc:libs/scpeep.library -pscpeep.pch t:scpeep.library
  94. delete t:scpeep.library quiet
  95. endif
  96.  
  97. if exists [from]libs/scdebug.library
  98. echo Patching SCDEBUG.LIBRARY
  99. copy [from]libs/scdebug.library t:scdebug.library
  100. spatch -osc:libs/scdebug.library -pscdebug.pch t:scdebug.library
  101. delete t:scdebug.library quiet
  102. endif
  103.  
  104. if exists [from]libs/sccxx.library
  105. echo Patching SCCXX.LIBRARY
  106. copy [from]libs/sccxx.library t:sccxx.library
  107. spatch -osc:libs/sccxx.library -psccxx.pch t:sccxx.library
  108. delete t:sccxx.library quiet
  109. endif
  110.  
  111. if exists [from]libs/sekeymap.library
  112. echo Patching SEKEYMAP.LIBRARY
  113. copy [from]libs/sekeymap.library t:sekeymap.library
  114. spatch -osc:libs/sekeymap.library -psekeymap.pch t:sekeymap.library
  115. delete t:sekeymap.library quiet
  116. endif
  117.  
  118. if exists [from]source/covutil.c
  119. echo Patching COVUTIL.C
  120. copy [from]source/covutil.c t:covutil.c
  121. spatch -osc:source/covutil.c -pcovutil.pch t:covutil.c
  122. delete t:covutil.c quiet
  123. endif
  124.  
  125.  
  126. if exists sc:lib/sc.lib
  127. echo Replacing fdopen.o, _iob.o, and _sfmt.o in SC.LIB
  128. oml sc:lib/sc.lib r _sfmt.osc fdopen.osc _iob.osc
  129. endif
  130.  
  131.  
  132. if exists sc:lib/scs.lib
  133. echo Replacing fdopen.o, _iob.o, and _sfmt.o in SCS.LIB
  134. oml sc:lib/scs.lib r _sfmt.oscs fdopen.oscs _iob.oscs
  135. endif
  136.  
  137. if exists sc:lib/scnb.lib
  138. echo Replacing fdopen.o, _iob.o, and _sfmt.o in SCNB.LIB
  139. oml sc:lib/scnb.lib r _sfmt.oscnb fdopen.oscnb _iob.oscnb
  140. endif
  141.  
  142. if exists sc:lib/scsnb.lib
  143. echo Replacing fdopen.o, _iob.o, and _sfmt.o in SCSNB.LIB
  144. oml sc:lib/scsnb.lib r _sfmt.oscsnb fdopen.oscsnb _iob.oscsnb
  145. endif
  146.  
  147. if exists sc:lib/scm.lib
  148. echo Replacing _sfmt.o in SCM.LIB
  149. oml sc:lib/scm.lib r _sfmt.oscm
  150. endif
  151.  
  152. if exists sc:lib/scms.lib
  153. echo Replacing _sfmt.o in SCMS.LIB
  154. oml sc:lib/scms.lib r _sfmt.oscms
  155. endif
  156.  
  157. if exists sc:lib/scmnb.lib
  158. echo Replacing _sfmt.o in SCMNB.LIB
  159. oml sc:lib/scmnb.lib r _sfmt.oscmnb
  160. endif
  161.  
  162. if exists sc:lib/scmsnb.lib
  163. echo Replacing _sfmt.o in SCMSNB.LIB
  164. oml sc:lib/scmsnb.lib r _sfmt.oscmsnb
  165. endif
  166.  
  167. if exists sc:lib/scmieee.lib
  168. echo Replacing _sfmt.o in SCMIEEE.LIB
  169. oml sc:lib/scmieee.lib r _sfmt.oscmieee
  170. endif
  171.  
  172. if exists sc:lib/scm881.lib
  173. echo Replacing _sfmt.o in SCM881.LIB
  174. oml sc:lib/scm881.lib r _sfmt.oscm881
  175. endif
  176.  
  177. if exists sc:lib/scmffp.lib
  178. echo Replacing _sfmt.o in SCMFFP.LIB
  179. oml sc:lib/scmffp.lib r _sfmt.oscmffp
  180. endif
  181.  
  182.  
  183. endif
  184.  
  185. endif
  186.